/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.barbon.sudoku.model.entidade;

import java.util.HashMap;
import java.util.Objects;

/**
 *
 * @author Barbon
 */
public class BaseDeRanking {

    private HashMap<String, Ranking> rankings;

    public BaseDeRanking(HashMap<String, Ranking> rankings) {
        this.rankings = rankings;
    }

    public BaseDeRanking() {
    }

    public HashMap<String, Ranking> getRankings() {
        return rankings;
    }

    public void setRankings(HashMap<String, Ranking> rankings) {
        this.rankings = rankings;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 59 * hash + Objects.hashCode(this.rankings);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BaseDeRanking other = (BaseDeRanking) obj;
        if (!Objects.equals(this.rankings, other.rankings)) {
            return false;
        }
        return true;
    }
    
    
}
